/*! \file ConfigManager.cpp
 *	\brief 
 *
 *	created:	2009/11/11
 *	created:	11:11:2009   13:51
 *	filename: 	c:\src\main\libs\config\ConfigManager.cpp
 *	file path:	c:\src\main\libs\config
 *	file base:	ConfigManager
 *	file ext:	cpp
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */
 
#include "StdAfx.h"
#include "ConfigManager.h"

#include "SimpleConfig.h"

namespace tt{
namespace config{

//////////////////////////////////////////////////////////////////////////
ConfigManager::ConfigManager(void)
{
}

ConfigManager::~ConfigManager(void)
{
}

SharedPtr<BaseConfig> ConfigManager::createConfig( const String& configName )
{
	configName;
	return SharedPtr<BaseConfig>(new SimpleConfig);
}

void ConfigManager::close()
{

}

//////////////////////////////////////////////////////////////////////////
CONFIG_API ConfigManager& g_cfgMgr()
{
	static ConfigManager s_cfgMgr;
	return s_cfgMgr;
}

} //namespace config
} //namespace tt
